package com.smarttourism.service.impl;

import com.smarttourism.domain.Hoteltype;
import com.smarttourism.mapper.HotelstartMapper;
import com.smarttourism.mapper.HoteltypeMapper;
import com.smarttourism.service.HoteltypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：王祖威
 * @Date ：2024/10/23 17:53
 */
@Service
public class HoteltypeServiceImpl implements HoteltypeService {
    @Autowired
    private HoteltypeMapper hoteltypeMapper;

    @Override
    public List<Hoteltype> findAll() {
        return hoteltypeMapper.selectAll();
    }
}
